package edu.scau.controller;


import com.alibaba.fastjson.JSON;
import com.jfinal.core.Controller;

import edu.scau.model.Department;




/**
 * IndexController
 */
public class TestController extends Controller {
	public void index() {
		renderJson("test",JSON.toJSON(Department.dao.findAll()));

	}
}





